const express = require('express');
const router = express.Router();
const Files = require('../../../controllers/sys_files.controller');


/**
 * 文件上传
 * @route POST /api/private/upload
 * @group 附件管理
 * @security JWT
 * @param {file} file.formData.required - 文件 - binary
 * @returns {filesModel.model} 成功 返回列表
 * @returns {ResponseMeta.model} 错误异常
 */
router.post("/",Files.create);

module.exports = router;
